package com.xhl.doeverything.rabbitmq.constant;//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//


import com.xhl.doeverything.entity.BaseEnum;
import org.apache.commons.lang.StringUtils;

public enum SysEventRoutingKey implements BaseEnum {
    ECP_BASEINFO("中台基础数据"),
    SYS_KEY_OPERATION_LOG("系统关键操作日志"),
    SYS_COMMON_LOG("系统普通日志"),
    GATEWAY_LOG("网关访问日志"),
    MAIL_TASK("邮件定时任务"),
    SMS_TASK("短信定时任务"),
    GROUP_FILE_SAVE("群聊天文件保存"),
    FILE_TRANSCODE("文件转码"),
    FILE_UPLOAD_EXTERNAL_URL("外部链接文件上传"),
    ECP_BLOCKCHAIN("中台区块链"),
    EVENT_TRACKING_LOG("埋点日志"),
    CONTENT_SUPERVISION_SCAN_RECORD("内容监管扫描记录"),
    IM_MESSAGE_CALLBACK("IM消息回调"),
    CLOUD_RESOURCE_EVENT_LOG("云资源用户操作记录"),
    SCHOOL_RESOURCE_EVENT_LOG("校本资源用户操作记录"),
    AREA_RESOURCE_EVENT_LOG("区本资源用户操作记录"),
    MSG_SEND_TASK("消息中心发送任务"),
    ECP_BASEINFO_ROUTING("中台基础数据同步"),
    ECP_DATACENTER_SYNC_ROUTING("数仓结果集同步业务中台"),
    DATA_SYNC_DISPATCH_ROUTING("数据同步分发"),
    CLOUD_RESOURCE_ES_SYNC_ROUTING("云资源ES数据补偿"),
    SCHOOL_RESOURCE_ES_SYNC_ROUTING("校本资源ES数据补偿"),
    AREA_RESOURCE_ES_SYNC_ROUTING("区本资源ES数据补偿"),
    DATA_CLONE("数据克隆"),
    SAVA_CLONE_DATA("保存克隆数据"),
    GENERATE_GROUP_AVATAR("生成组合群头像"),
    TEACHER_RESOURCE_ES_SYNC_ROUTING("教师资源ES数据补偿"),
    AITAL_STUDY_BURIED_POINT_ROUTING("AI学习路径埋点"),
    MESSAGE_READ_REPORT("消息已读上报"),
    SG_STUDENT_LESSON_ATTEND("学生课堂考勤"),
    AITAL_ERRORBOOK_SYNCHRONIZE_ROUTING("错题本"),
    ASSISTANT_NOTICE("助手通知"),
    IM_SEND_ASSISTANT_NOTICE_MESSAGE("IM发送助手通知消息"),
    UPDATE_ASSISTANT_NOTICE_MESSAGE("更新助手消息"),
    IM_UPDATE_ASSISTANT_NOTICE_MESSAGE("IM更新助手消息"),
    IM_CALENDAR("日程IM交互"),
    DATA_SYNC_TRACE_ROUTING("数据同步追踪路由键"),
    DATA_SYNC_ERROR_ROUTING("数据同步错误信息路由键"),
    DATA_SYNC_ALARM_ROUTING("数据同步报警路由键"),
    ECP_KNOWLEDGE_ROUTING("知识点同步交换器"),
    USER_ROUTING("用户路由");

    private String desc;
    private String routingKey;

    private SysEventRoutingKey(String desc) {
        this.desc = desc;
    }

    private SysEventRoutingKey(String desc, String routingKey) {
        this.desc = desc;
        this.routingKey = routingKey;
    }

    public String getDesc() {
        return this.desc;
    }

    public String getCode() {
        return this.name().toLowerCase();
    }

    public String getRoutingKey() {
        return StringUtils.defaultString(this.routingKey, this.name().toLowerCase());
    }
}
